//
//  NSBundle+HHChat.h
//  HHChatKit
//
//  Created by Henry on 2021/6/4.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

#define HCLanguageTypeKey @"HCLanguageTypeKey"

typedef NS_ENUM(NSUInteger, HCLanguageType) {
    HCLanguageSystem,               // 跟随系统语言，默认
    HCLanguageChineseSimplified,    // 中文简体
    HCLanguageChineseTraditional,   // 中文繁体
    HCLanguageEnglish,              // 英文
    HCLanguageJapanese,             // 日文
};

@interface NSBundle (HHChat)

+ (void)hc_resetLanguage;

+ (NSString *)hc_localizedStringForKey:(NSString *)key;
+ (NSString *)hc_localizedStringForKey:(NSString *)key value:(nullable NSString *)value;

+ (NSString *)hc_getLanguage;
+ (NSInteger)hc_getLanguageType;

@end

NS_ASSUME_NONNULL_END
